package com.myfum.wingplayer.utils
{
	import com.myfum.wingplayer.entity.ProgramData;
	
	import flash.filesystem.File;

	public class DefaultProgram
	{
		private static var program:ProgramData;
		
		public static function getDefaultProgram():ProgramData{
			if(program){
				return program;
			}
			var f:File = File.applicationDirectory.resolvePath("assets/default.mfx");
			program = new ProgramData(f);
			program.serialize();
			return program;
		}
	}
}